package com.cy.milktea.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.redis.cache.RedisCache;

import java.util.List;

@Mapper
public interface DrinkEntremetsMapper {


    int insert(@Param("drinkId") Integer drinkId,
               @Param("entremetsIds") List<Integer> entremetsIds);

    int deleteByDrinkId(Integer drinkId);

    int deleteByEntremetsId(Integer entremetsId);

    int selectByEntremetsId(Integer entremetsId);
}
